//
//  ContactHelper.h
//  Contacts
//
//  Created by nsm on 2017/10/16.
//  Copyright © 2017年 beisheng. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "Contacter.h"

#define _contactHelper  [ContactHelper sharedInstance]

@interface ContactHelper : NSObject

+ (instancetype)sharedInstance;

/// 请求授权
- (void)requestContactsAuthorization:(void(^)(BOOL granted))completion;

/// 获取联系人列表
- (void)fetchContacts:(void(^)(BOOL granted, NSArray <Contacter *> *contacters))completion;

@end
